package com.feicheng.lanniao.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author cailongyang
 * @since 2021-06-18
 */
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;

    public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getCu() {
		return cu;
	}

	public void setCu(Integer cu) {
		this.cu = cu;
	}

	public LocalDateTime getCt() {
		return ct;
	}

	public void setCt(LocalDateTime ct) {
		this.ct = ct;
	}

	public Integer getUu() {
		return uu;
	}

	public void setUu(Integer uu) {
		this.uu = uu;
	}

	public LocalDateTime getUt() {
		return ut;
	}

	public void setUt(LocalDateTime ut) {
		this.ut = ut;
	}

	public Boolean getStatu() {
		return statu;
	}

	public void setStatu(Boolean statu) {
		this.statu = statu;
	}

	private String roleName;

    private Integer cu;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ct;

    private Integer uu;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime ut;

    private Boolean statu;


}
